﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EMoveStatus extends Object
    {
        public var __value:int;
        public static const _EMoveStatusNormal:int = 0;
        public static const _EMoveStatusJump:int = 1;
        public static const _EMoveStatusSomersault:int = 2;
        public static const _EMoveStatusJumpPoint:int = 3;
        public static const _EMoveStatusCollect:int = 4;
        public static const _EMoveStatusZazen:int = 5;
        public static const _EMoveStatusDoubleZazen:int = 6;
        public static const _EMoveStatusEscape:int = 7;
        public static const _EMoveStatusBorn:int = 8;
        public static const _EMoveStatusDisappear:int = 9;
        public static const _EMoveStatusDance:int = 10;
        public static const _EMoveStatusPerform:int = 11;
        public static const _EMoveStatusSunbath:int = 12;
        public static const _EMoveStatusGuildToast:int = 13;
        public static const _EMoveStatusGuildDrunk:int = 14;
        public static const _EMoveStatusSwim:int = 15;
        public static const _EMoveStatusMoraReady:int = 16;
        public static const _EMoveStatusMoraBeauty:int = 17;
        public static const _EMoveStatusMoraThief:int = 18;
        public static const _EMoveStatusMoraPolice:int = 19;
        public static const _EMoveStatusFly:int = 20;
        public static const _EMoveStatusReturn:int = 21;
        public static const _EMoveStatusBecollect:int = 22;

        public function EMoveStatus(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EMoveStatus
        {
            return new EMoveStatus(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EMoveStatus
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 23)
            {
                throw new MarshalException();
            }
            return EMoveStatus.convert(_loc_2);
        }// end function

    }
}
